﻿{% extends "zh_CN/base.html" %}

{% block head_title %}
<title>Odoo</title>
{% endblock %}


{% block body %}

<section class="breadcrumbs">
    <div class="breadcrumb-sm-images">
        <div class="inner-banner-1 magnetic-item">
            <img src="/www_xodoo_cn/static/templates/zh_CN/assets/img/inner-pages/inner-banner-1.png" alt>
        </div>
        <div class="inner-banner-2 magnetic-item">
            <img src="/www_xodoo_cn/static/templates/zh_CN/assets/img/inner-pages/inner-banner-2.png" alt>
        </div>
    </div>
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="breadcrumb-wrapper">
                    <div class="breadcrumb-cnt">
                        <span> Odoo定制专家 </span>
                        <h1>{{ object.solution.name }}</h1>
                        <div class="breadcrumb-list">
                            <a href="/index">首页</a><img
                                src="/www_xodoo_cn/static/templates/zh_CN/assets/img/inner-pages/breadcrumb-arrow.svg"
                                alt> 解决方案
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>


<div class="bolog-details-area sec-mar">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <div class="post-thumb magnetic-item">
                    {% if object.solution.image_1024 %}
                     <img class="img-fluid" src="data:image/png;base64,{{ object.solution.image_1024.decode('utf-8') }}" alt="{{object.solution.name}}">
                     {% endif %}
                </div>
            </div>
        </div>
        <div class="row g-lg-4 gy-5">
            <div class="col-lg-8">
                <div class="blog-details-content">
                    <span>解决方案</span>
                    <h2>{{ object.solution.name }}</h2>
                    <div class="author-and-meta">

                        <div class="author-area">
                            <div class="author-img">
                                <img src="data:image/png;base64,{{ object.solution.user_id.avatar_128.decode('utf-8') }}">
                            </div>
                            <div class="author-content">
                                <h6> <span>{{ object.solution.user_id.name }}</span></h6>
                            </div>
                        </div>


                        <ul class="blog-meta">
                            <li>
                                <svg viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M8 0C3.60594 0 0 3.60594 0 8C0 12.3941 3.60594 16 8 16C12.3941 16 16 12.3941 16 8C16 3.60594 12.3941 0 8 0ZM11.646 3.69106C11.8291 3.508 12.1259 3.508 12.3089 3.69106C12.492 3.87413 12.492 4.17091 12.3089 4.35397C12.1259 4.53703 11.8291 4.53703 11.646 4.35397C11.463 4.17091 11.463 3.87413 11.646 3.69106ZM7.53125 2.375C7.53125 2.11591 7.74091 1.90625 8 1.90625C8.25909 1.90625 8.46875 2.11591 8.46875 2.375V3.3125C8.46875 3.57159 8.25909 3.78125 8 3.78125C7.74091 3.78125 7.53125 3.57159 7.53125 3.3125V2.375ZM2.375 8.46875C2.11591 8.46875 1.90625 8.25909 1.90625 8C1.90625 7.74091 2.11591 7.53125 2.375 7.53125H3.3125C3.57159 7.53125 3.78125 7.74091 3.78125 8C3.78125 8.25909 3.57159 8.46875 3.3125 8.46875H2.375ZM4.35397 12.3089C4.17091 12.492 3.87413 12.492 3.69106 12.3089C3.508 12.1259 3.508 11.8291 3.69106 11.646C3.87413 11.4629 4.17091 11.4629 4.35397 11.646C4.53703 11.8291 4.53703 12.1259 4.35397 12.3089ZM4.35397 4.35397C4.17091 4.53703 3.87413 4.53703 3.69106 4.35397C3.508 4.17091 3.508 3.87413 3.69106 3.69106C3.87413 3.508 4.17091 3.508 4.35397 3.69106C4.53703 3.87413 4.53703 4.17091 4.35397 4.35397ZM8.46875 13.625C8.46875 13.8841 8.25909 14.0938 8 14.0938C7.74091 14.0938 7.53125 13.8841 7.53125 13.625V12.6875C7.53125 12.4284 7.74091 12.2188 8 12.2188C8.25909 12.2188 8.46875 12.4284 8.46875 12.6875V13.625ZM11.1439 11.1439C10.9608 11.327 10.6642 11.327 10.4811 11.1439L7.66856 8.33141C7.58069 8.24353 7.53125 8.1245 7.53125 8V5.1875C7.53125 4.92841 7.74091 4.71875 8 4.71875C8.25909 4.71875 8.46875 4.92841 8.46875 5.1875V7.80591L11.1439 10.4811C11.327 10.6642 11.327 10.9608 11.1439 11.1439ZM12.3089 12.3089C12.1259 12.492 11.8291 12.492 11.646 12.3089C11.463 12.1259 11.463 11.8291 11.646 11.646C11.8291 11.4629 12.1259 11.4629 12.3089 11.646C12.492 11.8291 12.492 12.1259 12.3089 12.3089ZM14.0938 8C14.0938 8.25909 13.8841 8.46875 13.625 8.46875H12.6875C12.4284 8.46875 12.2188 8.25909 12.2188 8C12.2188 7.74091 12.4284 7.53125 12.6875 7.53125H13.625C13.8841 7.53125 14.0938 7.74091 14.0938 8Z">
                                    </path>
                                </svg>
                                {{ object.solution.create_date|date_format("%Y-%m-%d %H:%M:%S") }}
                            </li>
                            <li>
                                <svg viewbox="0 0 11 14" xmlns="http://www.w3.org/2000/svg">
                                    <path d="M7.15888 13.1844C8.73336 10.6029 8.07416 7.35423 5.59136 5.46029C5.58991 5.45922 5.58846 5.45788 5.5873 5.45708L5.59803 5.48172L5.59629 5.5002C6.08003 6.68033 6.01217 7.97589 5.41793 9.08745L4.99915 9.87117L4.87068 9.00522C4.78338 8.41784 4.54354 7.85751 4.17407 7.3778H4.11578L4.08503 7.29744C4.08938 8.19499 3.88464 9.07915 3.48297 9.91322C2.95602 11.0047 3.03345 12.2633 3.69033 13.2806L4.14362 13.9829L3.3281 13.6647C1.98331 13.1399 0.908237 12.1291 0.378384 10.8914C-0.215271 9.50931 -0.105357 7.90679 0.672747 6.6056C1.07847 5.92875 1.36269 5.21012 1.51784 4.46926L1.66952 3.74314L2.0564 4.39079C2.24113 4.69961 2.37715 5.03388 2.46154 5.38503L2.47024 5.39333L2.47923 5.44958L2.48765 5.44717C3.64654 4.02518 4.34083 2.25579 4.44204 0.464176L4.46814 0L4.88982 0.253917C6.61075 1.28967 7.80589 2.95139 8.17508 4.81853L8.18349 4.85684L8.18784 4.86273L8.20669 4.83809C8.54398 4.42668 8.72204 3.93732 8.72204 3.42226V2.62461L9.2432 3.26048C10.4549 4.73845 11.0761 6.57185 10.9926 8.42319C10.8899 10.6024 9.6031 12.5151 7.5501 13.5514L6.66121 14L7.15888 13.1844Z">
                                    </path>
                                </svg>
                                {{ object.solution.click }} 阅读
                            </li>
                        </ul>
                    </div>

<!--                    <h3>arcu at mauris facilisis fermentum</h3>-->
                    <p> {{ object.solution.html or ''}}</p>

                    {% if object.solution.tag_ids %}
                        <div class="blog-tag-and-social">
                            <div class="tag">
                                <h6>标签:</h6>
                                <ul>
                                     {% for item in object.solution.tag_ids %}
                                    <li><a>{{ item.name or '' }}</a></li>
                                    {% endfor %}
                                </ul>
                            </div>
                        </div>
                    {% endif %}
                </div>
            </div>
            <div class="col-lg-4">
                <div class="widget-area">
                    <div class="single-widgets widget_egns_categoris">
                        <div class="widget-title">
                            <h4>解决方案</h4>
                        </div>
                        <ul class="wp-block-categoris-cloud">

                             {% for item in object.menu_solution %}
                                <li><a href="/odoo/solution/{{ item[0] }}"><span>{{ item[1]|title }}</span> <span class="number-of-categoris">({{ item[2] }})</span></a></li>
                            {% endfor %}
                        </ul>
                    </div>
                    <div class="single-widgets widget_egns_tag">
                        <div class="widget-title">
                            <h4>标签</h4>
                        </div>
                        <p class="wp-block-tag-cloud">
                             {% for item in object.All_Tag %}
                                <a>{{ item.name }}</a>
                                {% endfor %}
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="details-navigation">
                    <div class="single-navigation">
                        {% if object.Previous %}
                        <div class="content">
                            <a href="/odoo/solution/{{object.Previous.id}}">上一页</a>
                            <h4><a href="/odoo/solution/{{object.Previous.id}}">{{object.Previous.name}}</a></h4>
                        </div>

                            {% if object.Previous.avatar_128 %}
                                <a href="/odoo/solution/{{object.Previous.id}}" class="img">
                                    <img src="data:image/png;base64,{{ object.Previous.avatar_128.decode('utf-8') }}" alt="{{object.Previous.name}}">
                                    <div class="arrow">
                                        <svg width="12" height="12" viewbox="0 0 13 13" fill="none"
                                             xmlns="http://www.w3.org/2000/svg">
                                            <path d="M0 1H12M12 1V13M12 1L0.5 12"></path>
                                        </svg>
                                    </div>
                                </a>
                            {% endif %}
                        {% endif %}
                    </div>
                    <div class="single-navigation two">
                         {% if object.Next %}
                            {% if object.Next.avatar_128 %}
                                <a href="/odoo/solution/{{object.Next.id}}" class="img">
                                    <img src="data:image/png;base64,{{ object.Next.avatar_128.decode('utf-8') }}" alt="{{object.Next.name}}">
                                    <div class="arrow">
                                        <svg width="12" height="12" viewbox="0 0 13 13" fill="none"
                                             xmlns="http://www.w3.org/2000/svg">
                                            <path d="M0 1H12M12 1V13M12 1L0.5 12"></path>
                                        </svg>
                                    </div>
                                </a>
                             {% endif %}
                        <div class="content">
                            <a href="/odoo/solution/{{object.Next.id}}">下一条 </a>
                            <h4><a href="/odoo/solution/{{object.Next.id}}">{{object.Next.name}}</a></h4>
                        </div>
                         {% endif %}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{% endblock %}

